package cn.com.sparkle.paxos.net.protocolprocessor;

import cn.com.sparkle.paxos.net.netlayer.PaxosSession;

public interface ProtocolProcessor<T> {
	public boolean receive(T t, PaxosSession session);

	public void onConnect(PaxosSession session);

	public void onDisConnect(PaxosSession session);
}
